using B.S.NewMedical.Api.Read.DTOS.Patient;
using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Read.Application.Command.ContentManagement.Patient
{
    /// <summary>
    /// 根据患者ID获取患者信息命令
    /// </summary>
    public class GetPatientByIdCommand : IRequest<ApiResult<PatientDisplayDto>>
    {
        /// <summary>
        /// 患者ID
        /// </summary>
        public int PatientId { get; set; }

        public GetPatientByIdCommand(int patientId)
        {
            PatientId = patientId;
        }
    }
}